Skip to content

[Jira]: Add alternative method to download all attachments zip file - #1623

Merged
gonchik merged 2 commits into
atlassian-api:masterfrom
jerubball:jira-attachment-new-method
Aug 15, 2026
Merged

[Jira]: Add alternative method to download all attachments zip file#1623
gonchik merged 2 commits into
atlassian-api:masterfrom
jerubball:jira-attachment-new-method

Conversation

@jerubball

@jerubball jerubball commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

When using existing method: jira.download_issue_attachments() to get all attachments in zip file, the file is compressed from Jira server side first. The download may fail if total attachment size in a issue is too large. (Depends on Jira server, but typically > 1GB.)

This PR adds new method jira.get_all_attachment_contents() which downloads individual files, and use python's zipfile built-in library to create zip file from client side.

Docs file is updated accordingly, and passes black, flake8, and mypy checks.

@jerubball
jerubball marked this pull request as draft March 14, 2026 04:47
@jerubball
jerubball marked this pull request as ready for review March 16, 2026 20:34
@gonchik
gonchik merged commit 88a3f32 into atlassian-api:master Aug 15, 2026
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants